* {
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    display: none;
}

html, body {
    height: 95%;
}

.wrapper {
    width: 600px;
    height: 100%;
    margin: 50px auto 0px auto;
    background-color: rgba(100, 112, 154, 0.2);
    border-radius: 10px;
}

p {
    text-align: center;
    background-color: rgba(226, 190, 170, 0.8);
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.content-box {
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 100px)
}

.avitor {
    /*float:left;*/

    width: 30px;
    height: 30px;
    border-radius: 50%;
    /*border: 1px solid black;*/
    display: inline-block;


}

.right {
    float: right;
    margin: 10px;
    width: calc(100% - 10px);

}

.left {
    float: left;
    margin: 10px;
    width: calc(100% - 10px);
}

.right .avitor {
    float: right;

    background-image: url(http://localhost:8080/image/photo1.png);
}

.right .text {
    float: right;
    background-color: rgba(112, 182, 163, 0.5);
    margin-right: 15px;
    position: relative;

}

.right .text::after {
    content: "";
    width: 0px;
    height: 0px;
    display: inline-block;
    position: absolute;
    right: -20px;
    top: 9px;
    border-width: 20px;
    border: 10px solid transparent;
    border-left-color: rgba(112, 182, 163, 0.5);

}

.left .text {
    background-color: rgba(81, 173, 93, 0.5);
    margin-left: 15px;
    position: relative;


}

.left .text::after {
    content: "";
    width: 0px;
    height: 0px;
    display: inline-block;
    border: 10px solid transparent;
    border-right-color: rgba(81, 173, 93, 0.5);
    position: absolute;
    left: -20px;
    top: 9px;
}

.left .avitor {
    background-image: url(http://localhost:8080/image/photo2.jpg);
}

.right .avitor,
.left .avitor {
    background-size: 100% 100%;
    vertical-align: top;
}

.text {
    max-width: 250px;
    border: 1px solid #ddd;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;


}

.input-box {
    height: 50px;
    width: 100%;
    background-color: rgba(191, 155, 255, 0.5);
    line-height: 50px;
    text-align: center;

}

#inp {
    padding-left: 4px;
    font-size: 16px;
    width: 60%;
    height: 60%;
    border: 1px solid #ccc;
    border-radius: 6px;
    /*margin:10px auto;*/

}

#submit {
    border-radius: 5px;
    font-size: 16px;
    padding: 3px 12px;
    margin: 0 5px;
    background-color: #FFFFFFFF;
    outline: none;
    border: none;
    font-weight: bolder;
    color: #404040FF;
    box-shadow: 0px 1px 3px 1px #404040ff;
}

input::placeholder {
    color: #A0A0A0FF;
    font-size: 13px;

}

#submit:hover {
    transform: scale(1.1);
    box-shadow: 0px 3px 5px 1px #404040FF;


}

.w1200 {
    max-width: 1200px;
    margin: auto;
    height: 100%;
}